package Mangos::DB::Mangos::CreatureOnkillReputation;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'creature_onkill_reputation',

    columns => 
    [
        creature_id          => { type => 'integer', not_null => 1 },
        RewOnKillRepFaction1 => { type => 'integer', default => '0', not_null => 1 },
        RewOnKillRepFaction2 => { type => 'integer', default => '0', not_null => 1 },
        MaxStanding1         => { type => 'integer', default => '0', not_null => 1 },
        IsTeamAward1         => { type => 'integer', default => '0', not_null => 1 },
        RewOnKillRepValue1   => { type => 'integer', default => '0', not_null => 1 },
        MaxStanding2         => { type => 'integer', default => '0', not_null => 1 },
        IsTeamAward2         => { type => 'integer', default => '0', not_null => 1 },
        RewOnKillRepValue2   => { type => 'integer', default => '0', not_null => 1 },
        TeamDependent        => { type => 'integer', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'creature_id' ],
);

1;

package Mangos::DB::Mangos::CreatureOnkillReputation::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::CreatureOnkillReputation' }

__PACKAGE__->make_manager_methods('creature_onkill_reputation');

1;
